<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<title>中医方剂</title>
	<meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link href="/lobsteruiframe/layuiadmin/layui/css/layui.css" rel="stylesheet" />
    <link href="/lobsteruiframe/layuiadmin/style/admin.css" rel="stylesheet" />
    <script src="/lobsteruiframe/layuiadmin/layui/layui.js"></script>
    <script src="/jslib/lobster.js"></script>
    <script src="/jslib/jquery-3.4.1.min.js"></script>

    <script src="js/cnmedpresmanage.js"></script>
</head>

<body>
	<div class="layui-fluid">
		<div class="layui-card">
			<div class="layui-form layui-card-header layuiadmin-card-header-auto">
				<div class="layui-input-inline">
					<label class="layui-form-label">方剂名称：</label>
					<div class="layui-input-inline">
						<input type="text" id="pPresName" name="pPresName" placeholder="请输入名称查询" autocomplete="off" class="layui-input">
					</div>
				</div>

				<div class="layui-input-inline">
					<button class="layui-btn layuiadmin-btn-useradmin" lay-submit lay-filter="LAY-search"
						id="btnSearch">
						<i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>搜  索
					</button>
				</div>
			</div>

			<div class="layui-card-body">
				<table id="presTable" lay-filter="presTable"></table>
			</div>
		</div>
	</div>

	<script type="text/html" id="option">
		 {{#  if(d.方解 != null){ }}
		    <a class="layui-btn layui-btn-xs" lay-event="detail"><i class="layui-icon layui-icon-edit"></i>方解详情</a>
			{{# } }}
	</script>
    <style>
        .hiddennull {
            visibility: hidden;
        }
    </style>

	<script type="text/html" id="dialog">
		     <div class="layui-fluid box"> 
		        <form class="layui-form" lay-filter="formDetail" id="formDetail">  
		             <div class="layui-card">
		                <div class="layui-card-body" >                            
                            <div class="layui-row" id="d方剂名称">
		                        <div class="layui-col-xs12">
		                            <div class="layui-form-item ">
		                                <label class="layui-form-label">方剂名称</label>
		                                <div class="layui-input-block">
		                                    <input type="text" class="layui-input"  id="txt方剂名称" name="方剂名称" />
		                                </div>
		                            </div>
		                        </div>
		                    </div>

		                    <div class="layui-row" id="d方解">
		                        <div class="layui-col-xs12">
		                            <div class="layui-form-item">
		                                <label class="layui-form-label">方解</label>
		                                <div class="layui-input-block">
		                                    <textarea type="text" class="layui-textarea"  id="txt方解" name="方解" ></textarea>
		                                </div>
		                            </div>
		                        </div>
		                    </div>

		                    <div class="layui-row" id="d禁忌">
		                        <div class="layui-col-xs12">
		                            <div class="layui-form-item">
		                                <label class="layui-form-label">禁忌</label>
		                                <div class="layui-input-block">
		                                    <textarea type="text"  class="layui-textarea"  id="txt禁忌" name="禁忌" ></textarea>
		                                </div>
		                            </div>
		                        </div>
		                    </div>

                            <div class="layui-row" id="d化裁">
		                        <div class="layui-col-xs12">
		                            <div class="layui-form-item">
		                                <label class="layui-form-label">化裁</label>
		                                <div class="layui-input-block">
		                                    <textarea type="text"  class="layui-textarea"  id="txt化裁" name="化裁" ></textarea>
		                                </div>
		                            </div>
		                        </div>
		                    </div>

                            <div class="layui-row" id="d附方">
		                        <div class="layui-col-xs12">
		                            <div class="layui-form-item">
		                                <label class="layui-form-label">附方</label>
		                                <div class="layui-input-block">
		                                    <textarea type="text"  class="layui-textarea"  id="txt附方" name="附方"></textarea>
		                                </div>
		                            </div>
		                        </div>
		                    </div>

                            <div class="layui-row" id="d附注">
		                        <div class="layui-col-xs12">
		                            <div class="layui-form-item">
		                                <label class="layui-form-label">附注</label>
		                                <div class="layui-input-block">
		                                    <textarea type="text" class="layui-textarea" id="txt附注" name="附注" ></textarea>
		                                </div>
		                            </div>
		                        </div>
		                    </div>

                            <div class="layui-row" id="d文献">
		                        <div class="layui-col-xs12">
		                            <div class="layui-form-item">
		                                <label class="layui-form-label">文献</label>
		                                <div class="layui-input-block">
		                                    <textarea type="text"  class="layui-textarea"  id="txt文献" name="文献" ></textarea>
		                                </div>
		                            </div>
		                        </div>
		                    </div>

                            <div class="layui-row" id="d运用">
		                        <div class="layui-col-xs12">
		                            <div class="layui-form-item">
		                                <label class="layui-form-label" >运用</label>
		                                <div class="layui-input-block">
		                                    <textarea type="text"  class="layui-textarea"  id="txt运用" name="运用"></textarea>
		                                </div>
		                            </div>
		                        </div>
		                    </div>
		                </div>
		            </div> 
		         </form> 
		    </div> 
	</script>

</body>

</html>
